package com.java.mytools.service.impl;

import com.java.mytools.dao.SysBranchDao;
import com.java.mytools.entity.po.SysBranchPO;
import com.java.mytools.service.SysBranchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 机构查询
 *
 * @author wangning
 * @create 2021-12-17 17:54
 */
@Service
public class SysBranchServiceImpl implements SysBranchService {
	@Autowired
	private SysBranchDao sysBranchDao;

	@Override
	public List<SysBranchPO> findAll() {
		System.out.println(sysBranchDao.findAll());
		return sysBranchDao.findAll();
	}

	@Override
	public List<SysBranchPO> findBranchListBySupBrno(String supbrno) {
		return sysBranchDao.findBranchListBySupBrno(supbrno);
	}

}
